//
//  FlyCollectionViewCell.m
//  ProjectForA
//
//  Created by apple on 14/11/22.
//  Copyright (c) 2014年 hmengwei. All rights reserved.
//

#import "FlyCollectionViewCell.h"

@implementation FlyCollectionViewCell
- (void)dealloc
{
    [_aLabel release];
    [super dealloc];
}

-(instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        
        self.aLabel = [[UILabel alloc] initWithFrame:CGRectMake(0, 0, self.frame.size.width , self.frame.size.height)];
        [_aLabel.layer setCornerRadius:10];
        [_aLabel setTextAlignment:NSTextAlignmentCenter];
        [_aLabel.layer setMasksToBounds:YES];
        [_aLabel.layer setBorderColor:[UIColor blueColor].CGColor];
        [_aLabel.layer setBorderWidth:1];
        [self.contentView addSubview:_aLabel];
        [_aLabel release];
        
    }
    return self;
}

@end
